<?php
/**
 * 销售
 * @copyright   Copyright (c) 2006 - 2010 DZH 友拓软件友拓通
 * @category   	账目信息
 * @package  	Action
 * @author    	李恺弘
 * @version 	2.1,2012-07-22
 */
class ClientSalePublicBehavior extends Behavior {
	
	public function run(&$params){  
		$Model	= D('ClientSale');   
		if (ACTION_NAME=='delete'){
			$id			= $params['id']; 
			$info		= $Model->deleteOp($id); 
		}else{
			///销售单款项 
			$info		= $Model->_fund($params); 
		} 
	} 
	
}